package org.example.user.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IUserService {
    Integer findEmailIsRegister(String email);

    int register(String email, String password, String code);

    String findEmailByToken(String token);

    String login(String email, String password,HttpServletRequest request, HttpServletResponse response);
}
